package com.hrm.usermanager.dao;

import com.hrm.usermanager.entity.TenantInfo;

/**
 * tenant 信息保存
 * @author jianwei zhang
 *
 */
public interface TenantDao {
	
	public void save(TenantInfo tenantInfo);
	
	public TenantInfo getTenantByEmail(String email);
	
	public TenantInfo getTenantByUserId(long id);
/**
 * 更新tenant
 * @param tenantInfo
 */
	public void updateTenantInfo(TenantInfo tenantInfo);

}
